﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form2 : Form
    {
        public Form2(double Xs, double Ys, double Zs, double phi, double omiga, double kappa, double[,] R)
        {
            InitializeComponent();
            label1.Text = "Xs" + Xs;
            label2.Text = "Ys" + Ys;
            label3.Text = "Zs" + Zs;
            label4.Text = "phi" + phi;
            label5.Text = "omiga" + omiga;
            label6.Text = "kappa" + kappa;
            for (int i = 0; i < 3; i++)
            {
                for (int j = 0; j < 3; j++)
                {
                    int a = 1;
                    this.richTextBox1.Text = this.richTextBox1.Text+" "+Convert.ToString(R[i, j]);
                    if (a % 3 == 0)
                        this.richTextBox1.Text += "\r\n";
                }
            }
        }
    }
}
